package com.lang.dao;

import com.lang.entity.Address;
import com.lang.entity.Item;
import com.lang.entity.Orders;

import java.util.List;

/*
 * @Date : 2024/3/14 10:47
 * @Created by Lang
 * @ProjectName : LclShop
 */
public interface OrderDao {
    int addOrder(Orders orders);

    int addItem(List<Item> items);

    List<Orders> showOrder(int uid);

    Orders showOrderByOid(String oid);

    List<Item> getItems(String oid);

    int deleteOrderByOid(String oId);

    int deleteOrderByUid(String id);
}
